   

 //   #include "platform_config.h" 	  


#ifndef __PLATFORM_CONFIG_H__
#define __PLATFORM_CONFIG_H__

//   #include "iotv30_config.h" 	 

#include "stdint.h"
#include "app_types.h"



/* C binding of definitions if building with C++ compiler */
#ifdef __cplusplus
extern "C"
{
#endif


#define BOARD_X86               (0x01)
#define BOARD_F133_KTJ          (0x02)     //康体佳 F133集中器
#define BOARD_HI3798            (0x03)
#define BOARD_F133_UNITED       (0x04)     //九联 F133融合网关顶板


#define BOARD_TEST_ENABLE   (0x00)  //是否是在PC环境模拟测试

//#define BOARD_TPYE      BOARD_X86
//#define BOARD_TPYE      BOARD_F133_KTJ
#define BOARD_TPYE      BOARD_F133_UNITED      //
//#define BOARD_TPYE      BOARD_HI3798


#if (BOARD_TPYE != BOARD_X86)

//#include "tcp.h"

#include "iotv30_tcp_client.h"
#include "timer_app.h"

#include "uart_api.h"
#include "beep.h"
#include "relay.h"
#include "key.h"
#include "led_proc.h"

#endif




#if (BOARD_TPYE == BOARD_X86)

#elif (BOARD_TPYE == BOARD_F133_KTJ)
#include "led_api.h"
#include "uart_app_gw_f133.h"

#elif (BOARD_TPYE == BOARD_F133_UNITED)
#include "leds_class_api.h"
#include "uart_app_f133_united.h"

#elif (BOARD_TPYE == BOARD_HI3798)

#include "uart_app.h"

#else

#error  "xxx must be define"

#endif  




#ifdef __cplusplus
}
#endif

#endif /* __PLATFORM_CONFIG_H__ */










